package cn.tdeu.spring.config;

import cn.tdeu.spring.bean.Car;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.DriverManagerDataSource;

import javax.activation.DataSource;
import javax.xml.crypto.Data;

@Configuration
public class BeanConfig {

    @Bean
    public Car getCar(){
        return new Car();
    }
}
